home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 0232 / amitools.sam (.txt) < prev    next >
Encoding:
Ami Pro/Word Pro document  |  1997-03-27  |  29.0 KB  |  723 lines

  1. [ver]
  2. [sty]
  3.     _html.sty
  4. [files]
  5. [charset]
  6.     ANSI (Windows, IBM CP 1252)
  7. [revisions]
  8. [docvars]
  9.     Destination=d:\temp\
  10. [prn]
  11.     PostScript Printer
  12. [port]
  13.     FILE:
  14. [lang]
  15. [fldnames]
  16.     Field1
  17.     Field2
  18.     Field3
  19.     Field4
  20.     Field5
  21.     Field6
  22.     Field7
  23.     Field8
  24. [desc]
  25.     815674925
  26.     792686152
  27. [fopts]
  28. [auto]
  29.     HTMLMACS.SMM!InitHTML
  30.     HTMLMACS.SMM!CloseHTML
  31. [lnopts]
  32.     Body Text
  33. [docopts]
  34. [GramStyle]
  35. [ParaNum]
  36. [tag]
  37.     Standard Text
  38.     [fnt]
  39.         Times New Roman
  40.         240
  41.         49152
  42.     [algn]
  43.     [spc]
  44.         273
  45.         100
  46.     [brk]
  47.     [line]
  48.     [spec]
  49.     [nfmt]
  50.         280
  51.     Standard Text
  52. [tag]
  53.     [fnt]
  54.         Times New Roman
  55.         460
  56.         49153
  57.     [algn]
  58.     [spc]
  59.         273
  60.         100
  61.     [brk]
  62.     [line]
  63.     [spec]
  64.     [nfmt]
  65.         280
  66. [tag]
  67.     [fnt]
  68.         Times New Roman
  69.         400
  70.         49153
  71.     [algn]
  72.     [spc]
  73.         273
  74.         100
  75.     [brk]
  76.     [line]
  77.     [spec]
  78.     [nfmt]
  79.         280
  80. [tag]
  81.     [fnt]
  82.         Times New Roman
  83.         360
  84.         49153
  85.     [algn]
  86.     [spc]
  87.         273
  88.         100
  89.     [brk]
  90.     [line]
  91.     [spec]
  92.     [nfmt]
  93.         280
  94. [tag]
  95.     [fnt]
  96.         Times New Roman
  97.         320
  98.         49153
  99.     [algn]
  100.     [spc]
  101.         273
  102.         100
  103.     [brk]
  104.     [line]
  105.     [spec]
  106.     [nfmt]
  107.         280
  108. [tag]
  109.     [fnt]
  110.         Times New Roman
  111.         300
  112.         49153
  113.     [algn]
  114.     [spc]
  115.         273
  116.         100
  117.     [brk]
  118.     [line]
  119.     [spec]
  120.     [nfmt]
  121.         280
  122. [tag]
  123.     [fnt]
  124.         Times New Roman
  125.         280
  126.         49153
  127.     [algn]
  128.     [spc]
  129.         273
  130.         100
  131.     [brk]
  132.     [line]
  133.     [spec]
  134.     [nfmt]
  135.         280
  136. [tag]
  137.     Body Text
  138.     [fnt]
  139.         Times New Roman
  140.         240
  141.         49152
  142.     [algn]
  143.     [spc]
  144.         273
  145.         100
  146.     [brk]
  147.     [line]
  148.     [spec]
  149.     [nfmt]
  150.         280
  151.     Body Text
  152. [tag]
  153.     Number List
  154.     [fnt]
  155.         Times New Roman
  156.         240
  157.         49152
  158.     [algn]
  159.         360
  160.         360
  161.         360
  162.     [spc]
  163.         273
  164.         100
  165.     [brk]
  166.     [line]
  167.     [spec]
  168.         <*:>.
  169.         360
  170.     [nfmt]
  171.         272
  172.     Number List
  173. [tag]
  174.     Number List 2
  175.     [fnt]
  176.         Times New Roman
  177.         240
  178.         49152
  179.     [algn]
  180.         360
  181.         1080
  182.         1080
  183.     [spc]
  184.         273
  185.         100
  186.     [brk]
  187.     [line]
  188.     [spec]
  189.         <*:>.
  190.         360
  191.     [nfmt]
  192.         272
  193.     Number List 2
  194. [tag]
  195.     Number List 3
  196.     [fnt]
  197.         Times New Roman
  198.         240
  199.         49152
  200.     [algn]
  201.         360
  202.         1800
  203.         1800
  204.     [spc]
  205.         273
  206.         100
  207.     [brk]
  208.     [line]
  209.     [spec]
  210.         <*:>.
  211.         360
  212.     [nfmt]
  213.         272
  214.     Number List 3
  215. [tag]
  216.     List
  217.     [fnt]
  218.         Times New Roman
  219.         240
  220.         49152
  221.     [algn]
  222.         720
  223.         720
  224.     [spc]
  225.         273
  226.         100
  227.     [brk]
  228.     [line]
  229.     [spec]
  230.         <*0>
  231.         360
  232.     [nfmt]
  233.         272
  234.     List
  235. [tag]
  236.     List 2
  237.     [fnt]
  238.         Times New Roman
  239.         240
  240.         49152
  241.     [algn]
  242.         1166
  243.         273
  244.         273
  245.     [spc]
  246.         273
  247.         100
  248.     [brk]
  249.     [line]
  250.     [spec]
  251.         <*0>
  252.         360
  253.     [nfmt]
  254.         272
  255.     List 2
  256. [tag]
  257.     List 3
  258.     [fnt]
  259.         Times New Roman
  260.         240
  261.         49152
  262.     [algn]
  263.         1886
  264.         273
  265.         273
  266.     [spc]
  267.         273
  268.         100
  269.     [brk]
  270.     [line]
  271.     [spec]
  272.         <*0>
  273.         360
  274.     [nfmt]
  275.         272
  276.     List 3
  277. [tag]
  278.     Directory
  279.     [fnt]
  280.         Times New Roman
  281.         240
  282.         49152
  283.     [algn]
  284.         720
  285.         720
  286.     [spc]
  287.         273
  288.         100
  289.     [brk]
  290.     [line]
  291.     [spec]
  292.         360
  293.     [nfmt]
  294.         272
  295.     Directory
  296. [tag]
  297.     Directory 2
  298.     [fnt]
  299.         Times New Roman
  300.         240
  301.         49152
  302.     [algn]
  303.         1440
  304.         1440
  305.     [spc]
  306.         273
  307.         100
  308.     [brk]
  309.     [line]
  310.     [spec]
  311.         360
  312.     [nfmt]
  313.         272
  314.     Directory 2
  315. [tag]
  316.     Directory 3
  317.     [fnt]
  318.         Times New Roman
  319.         240
  320.         49152
  321.     [algn]
  322.         2160
  323.         2160
  324.     [spc]
  325.         273
  326.         100
  327.     [brk]
  328.     [line]
  329.     [spec]
  330.         360
  331.     [nfmt]
  332.         272
  333.     Directory 3
  334. [tag]
  335.     Menu
  336.     [fnt]
  337.         Times New Roman
  338.         240
  339.         49152
  340.     [algn]
  341.         720
  342.         720
  343.     [spc]
  344.         273
  345.         100
  346.     [brk]
  347.     [line]
  348.     [spec]
  349.         360
  350.     [nfmt]
  351.         272
  352.     Menu
  353. [tag]
  354.     Menu 2
  355.     [fnt]
  356.         Times New Roman
  357.         240
  358.         49152
  359.     [algn]
  360.         1440
  361.         1440
  362.     [spc]
  363.         273
  364.         100
  365.     [brk]
  366.     [line]
  367.     [spec]
  368.         360
  369.     [nfmt]
  370.         272
  371.     Menu 2
  372. [tag]
  373.     Menu 3
  374.     [fnt]
  375.         Times New Roman
  376.         240
  377.         49152
  378.     [algn]
  379.         2160
  380.         2160
  381.     [spc]
  382.         273
  383.         100
  384.     [brk]
  385.     [line]
  386.     [spec]
  387.         360
  388.     [nfmt]
  389.         272
  390.     Menu 3
  391. [tag]
  392.     Program Code
  393.     [fnt]
  394.         Courier New
  395.         240
  396.         32768
  397.     [algn]
  398.         720
  399.         720
  400.     [spc]
  401.         273
  402.         100
  403.     [brk]
  404.     [line]
  405.     [spec]
  406.     [nfmt]
  407.         280
  408.     Program Code
  409.     1440
  410. [tag]
  411.     BlockQuote
  412.     [fnt]
  413.         Times New Roman
  414.         240
  415.         49152
  416.     [algn]
  417.         1440
  418.         1440
  419.     [spc]
  420.         273
  421.         100
  422.     [brk]
  423.     [line]
  424.     [spec]
  425.     [nfmt]
  426.         280
  427.     BlockQuote
  428.     1440
  429. [tag]
  430.     PreFormatted
  431.     [fnt]
  432.         Courier New
  433.         240
  434.         32768
  435.     [algn]
  436.         360
  437.         360
  438.     [spc]
  439.         273
  440.         100
  441.     [brk]
  442.     [line]
  443.     [spec]
  444.     [nfmt]
  445.         280
  446.     PreFormatted
  447. [tag]
  448.     Definition
  449.     [fnt]
  450.         Times New Roman
  451.         240
  452.         49152
  453.     [algn]
  454.         360
  455.     [spc]
  456.         273
  457.         100
  458.     [brk]
  459.     [line]
  460.     [spec]
  461.     [nfmt]
  462.         280
  463.     Defn Text
  464. [tag]
  465.     Defn Text
  466.     [fnt]
  467.         Times New Roman
  468.         240
  469.         49152
  470.     [algn]
  471.         720
  472.     [spc]
  473.         273
  474.         100
  475.     [brk]
  476.     [line]
  477.     [spec]
  478.     [nfmt]
  479.         280
  480.     Definition
  481. [lay]
  482.     Standard
  483.     [rght]
  484.         16833
  485.         11908
  486.         1440
  487.         720
  488.         1008
  489.         1440
  490.         1440
  491.         10465
  492.         720
  493.         1440
  494.         2160
  495.         2880
  496.         3600
  497.         4320
  498.         5040
  499.         5760
  500.         6480
  501.         7200
  502.         7920
  503.         8640
  504.     [hrght]
  505.     [lyfrm]
  506.         11200
  507.         11908
  508.         1008
  509.         1 0 0 0 0 0 0
  510.     [frmlay]
  511.         1008
  512.         11908
  513.         1440
  514.         648
  515.         1440
  516.         1440
  517.         10465
  518.         4680
  519.         9360
  520.     [txt]
  521.     Using AmiPro HTML tools 
  522.     [frght]
  523.     [lyfrm]
  524.         13248
  525.         16113
  526.         11908
  527.         16833
  528.         1 0 0 0 0 0 0
  529.     [frmlay]
  530.         16833
  531.         11908
  532.         1440
  533.         648
  534.         16185
  535.         1440
  536.         1440
  537.         10465
  538.         4680
  539.         9360
  540.     [txt]
  541. [elay]
  542.     32 0 18 32 1 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  543.     68 168 44 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  544.     95 93 56 32 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  545.     131 0 51 0 0 1 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  546.     161 183 9 0 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  547.     163 0 48 1025 0 0 0 65535 65535 Standard    65535 0 0    0 0 0 0 0 0 0 65535 0 0 65535 0 0 0 0 0
  548. [edoc]
  549. @H1@<:#542,9025>AmiPro HTML Tools: For AmiPro <+#>3.0 +<-#>
  550. @Standard Text@<+B><:s><:I0,0,0,0><:#284,9025><+!><+#>
  551. @Standard Text@<+B><:s><:I0,0,0,0><:#284,9025><+!><+#>
  552. @Standard Text@<+B><:s><:I0,0,0,0><:#518,9025><:f440,,><+!><+#>Contents<-#><-!><:f>
  553. @Number List@<:s><:#284,9025><+!>Installing the Tools<-!>
  554. @Number List@<:#284,9025><+!>What is AmiWeb?
  555. @Number List@<:#284,9025><+!>Using the tools<-!>
  556. @Number List@<:#284,9025><+!>NetScape Extensions<-!>
  557. @Number List@<:#284,9025><+!>Converting Existing AmiPro files to HTML<-!>
  558. @Number List@<:s><:#284,9025><+!>Font Sizes
  559. @Number List@<:#284,9025><+!>Background Images and Colour Changing
  560. @Number List@<+!>Using Tables
  561. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  562. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  563. @H3@<:s><:I0,0,0,0><:#422,9025>1. Installing the Tools
  564. @Standard Text@<:I0,720,0,0><:#573,9025><-!><+!>Firstly ensure that OLEv2 is installed on your PC.<-!>  See the file OLE.TXT included in this package.
  565. @Standard Text@<:s><:I0,720,0,0><:#284,9025>
  566. @Standard Text@<:I0,720,0,0><:#852,9025>To install the tools simply open AmiPro and Tools, Macros, PlayBack from the menu bar.  Use the directory browser in the dialog box find the file SETUP.SMM in the directory that AmiWeb was unzipped in and run it.  
  567. @Standard Text@<:I0,720,0,0><:#852,9025>In the dialog that appears you may wish to alter the directory that the documents are copied to and verify that the icons directory is correct (specified under Tools, User Setup, Paths) but the others entries should remain untouched on most installations.
  568. @Standard Text@<:I0,720,0,0><:#284,9025>Press OK and the installation will take place leaving AmiWeb ready to roll!
  569. @Standard Text@<:s><:I0,0,0,0><:#284,9025>NOTE: This automatic installation should work regardless of where your AmiPro directory is.
  570. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  571. @H3@<:I0,0,0,0><:#422,9025><-!>
  572. @H3@<:I0,0,0,0><:#422,9025>2. What is AmiWeb?
  573. @Standard Text@<:I0,0,0,0><:#1136,9025>    AmiWeb is a utility for producing HTML documents from AmiPro.  It is written with the idea of creating totally new documents from scratch but it may be used to create HTML from existing .SAM documents. (See Section 5).  AmiWeb uses two main things for form
  574. atting the .SAM documents to be processed correctly by the converter.  
  575. @Standard Text@<:I0,0,0,0><:#1988,9025>    Firstly, the paragraph styles which define the layout of the text.  These allow the use of different layout formats such as H1, H2, PreFormatted Text, Definitions and their text, different Lists, etc.  These give the main layout information for the documen
  576. t.  NOTE: The converter will only accept the paragraph styles that appear in the _HTML.STY stylesheet.  Any other paragraph style will cause the converter to abort with an error message.  This is the main reason that it is better to create a document for HT
  577. ML initially rather than altering an existing one, you don't have to change any paragraph styles.
  578. @Standard Text@<:I0,0,0,0><:#568,9025>    Secondly, red text in the document is left as it is.  Links and anchors are defined in this manner as well as a number of other HTML tags.  These are described in Section 3.
  579. @Standard Text@<:I0,0,0,0><:#284,9025>
  580. @Standard Text@<:I0,0,0,0><:#568,9025>    Once a document is written, it is simply a matter of converting the .sam document to HTML format which is easily done from within AmiPro, as described later.
  581. @Standard Text@<:I0,0,0,0><:#284,9025>
  582. @Standard Text@<:I0,0,0,0><:#284,9025>
  583. @H3@<:I0,0,0,0><:#422,9025>3. Using the Tools
  584. @Standard Text@<:I0,0,0,0><:#568,9025>    From the AmiPro File menu select New, this will bring up the Style Sheet dialog box.  From the list select the HTML style sheet, this has the description: 
  585. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  586. @Standard Text@<:I0,0,0,0><:#284,9025>  HTML - Used for creating HTML documents
  587. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  588. @Standard Text@<:s><:I0,0,0,0><:#284,9025> or is listed by its filename:
  589. @Standard Text@<:s><:I0,0,0,0><:#284,9025>
  590. @Standard Text@<:I0,0,0,0><:#284,9025>  _HTML.STY
  591. @Standard Text@<:s><:#284,9025>
  592. @Standard Text@<:s><:#284,9025>     Before clicking OK ensure that the "Run Macro" and "With Contents" boxes are checked.
  593. @Standard Text@<:s><:#284,9025>
  594. @Standard Text@<:#852,9025>     After a short delay, as the initialisation macros are processed, the blank page appears and you should find that a new item is added to the toolbar with the name HTML.  This has a number of items in it most of which are for creating the document featur
  595. @Standard Text@<:s><:#284,9025>
  596. @Standard Text@<:s><:#284,9025><+!><+#>ELEMENTS<-#><-!>
  597. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add HREF Anchor (Hotkey CTRL+SHIFT+H)<-!>
  598. @Standard Text@<:I0,720,720,0><:#852,9025>Highlight the text that you wish to attach the link to and select this option, you will then be asked for the URL of the link.  Once you enter this data the anchor is added to the text.
  599. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  600. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add NAME Anchor (Hotkey CTRL+SHIFT+N)<-!>
  601. @Standard Text@<:I0,720,720,0><:#1136,9025>This is for placing labels in the text so you can access a section of an HTML document.  Highlight the text that you wish to attach the anchor to and select this option, you will then be asked for a name for the anchor which will be added to the text.
  602. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  603. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add IMAGE (Hotkey CTRL+SHIFT+I)<-!>
  604. @Standard Text@<:I0,720,720,0><:#1420,9025>This is for placing images in an HTML document.  Select this option and you will be asked for the URL of the image, you may select the alignment of the image with the text and add text that will be displayed on browsers that do not support images.  You may 
  605. also indicate whether the image is an image map.  The image will not be displayed in AmiPro.
  606. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  607. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add ADDRESS (Hotkey CTRL+SHIFT+A)<-!>
  608. @Standard Text@<:s><:I0,720,720,0><:#568,9025>This option places the <<ADDRESS<;> <</ADDRESS<;> markers around the highlighted text.
  609. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  610. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add RULE (Hotkey CTRL+SHIFT+R)<-!>
  611. @Standard Text@<:I0,720,720,0><:#568,9025>This places the <<HR<;> token in the text which is displayed as a horizontal rule line on the browser.
  612. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  613. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add BREAK (Hotkey CTRL+SHIFT+B)<-!>
  614. @Standard Text@<:I0,720,720,0><:#284,9025>This places the <<BR<;> token in the text which indicates a new line to the browser.
  615. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  616. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add NOBR <-!>
  617. @Standard Text@<:s><:I0,720,720,0><:#568,9025>This places the <<NOBR<;><</NOBR<;> tokens around the highlighted text which indicate that the line must not be in this section.
  618. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  619. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add WBR <-!>
  620. @Standard Text@<:I0,720,720,0><:#852,9025>This places the <<WBR<;> token in the text which indicates that the line may be broken at this point in the middle of a NOBR section.  It may also be used anywhere in the text to indicate where a word may be broken.
  621. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  622. @Standard Text@<:I0,720,720,0><:#284,9025><+!>Add Author (Hotkey CTRL+SHIFT+A)<-!>
  623. @Standard Text@<:I0,720,720,0><:#852,9025>A dialog box appears for you to enter your name, e-mail address and home page.  This information will be added into the text at the cursor position with a link to your home page from your name.  Your e-mail address will be in ADDRESS format.
  624. @Standard Text@<:s><:I0,720,720,0><:#284,9025><+!>
  625. @Standard Text@<:s><:I0,720,720,0><:#284,9025><+!>Add Comment<-!>
  626. @Standard Text@<:s><:I0,720,720,0><:#1420,9025>This inserts a note in the text at the insertion point.  This must then be edited by double clicking on the box that appears to indicate the note.  These notes may also be added by selecting Edit/Insert/Notes which is possibly the preferable option as you a
  627. re then allowed to edit the note immediately - this is not possible with macros for some reason best known to Lotus.
  628. @Standard Text@<:I0,720,720,0><:#568,9025>Comments appearing in the main body of text will appear in the HTML document where they are inserted in the AmiPro document.
  629. @Standard Text@<:I0,720,720,0><:#568,9025>Comments appearing in the header will appear after <<HTML<;> but before <<BODY<;> in the destination document.
  630. @Standard Text@<:s><:I0,720,720,0><:#284,9025>
  631. @Standard Text@<:s><:I0,720,720,0><:#284,9025><+!>Add Date/Time<-!>
  632. @Standard Text@<:I0,720,720,0><:#568,9025>This brings up the dialog box to insert a selection of Dates or the Time into a document. 
  633. @Standard Text@<:#284,9025><+!><+#>PARAGRAPH STYLE<-#><-!><-!><-!>
  634. @Standard Text@<:#1988,9025>This allows the user to select a different paragraph style.  These styles are used by AmiPro to mimic the display of a browser and are used by the converter to set the desired style in the HTML document.  There is the standard text style used for most of th
  635. e body text of the HTML document, the six heading styles H1-H6, three depths of lists, number lists, directory lists and menu lists.  There are also Program Code, Block Quote, and PreFormatted styles and Definition and Defn Text styles.  Note that Definitio
  636. n and Defn Text styles alternate between new lines.
  637. @Standard Text@<:s><:#284,9025>
  638. @Standard Text@<:s><:#284,9025><+!><+#><++>Text Styles <-+><-#><+#>and<-#><+#><++> Text Effects<-+><-#><-!>
  639. @Standard Text@<:s><:#568,9025>These simply add appropriate markers around the selected text so that the desired effect is entered into the document.
  640. @Standard Text@<:s><:#284,9025>
  641. @Standard Text@<:#284,9025><+!><+#><++>Convert File<-+> (Hotkey CTRL+SHIFT+C)<-#><-!>
  642. @Standard Text@<:#568,9025>If the file has not been given a filename then before anything the Save dialog box will come up for you to save the source file.
  643. @Standard Text@<:#852,9025>Next, another dialog comes up which prompts you for a destination directory and a filename for the converted file.  There is also a check box that determines whether single carriage returns will be converted to <<BR<;>s or <<P<;>s.
  644. @Standard Text@<:#852,9025>Enter or verify these and press OK and the file will be converted.  This dialog box may be disabled after the first conversion by selecting 'Don't show Convert dialog box' in the Options dialog box.
  645. @Standard Text@<:s><:#852,9025>Any errors from the conversion will be displayed in a window.  Because of the way the file is converted, these error messages are unfortunately not extremely helpful but they give you some idea as to what is wrong with the file.
  646. @Standard Text@<:s><:#284,9025>NOTE: The source file is saved every time the file is converted.
  647. @Standard Text@<:s><:#284,9025>
  648. @Standard Text@<:#284,9025><+!><+#><-+>OPTIONS (Hotkey CTRL+SHIFT+O)<-#><-!>
  649. @Standard Text@<:#568,9025>This dialog box is mainly for NetScape extensions but it also includes the CheckBox for disabling the Convert File dialog box.
  650. @Standard Text@<:#568,9025>There are three main other parts;  the HR extensions, the BR extension. These are the values that will be used when the NetScape options are enabled.
  651. @Standard Text@<:#568,9025>The third is the CheckBox to enable NetScape Extensions and this enables the BR and HR extras and an extended options dialog box for images.
  652. @Standard Text@<:s><:#284,9025>For an explanation of these please see:
  653. @Standard Text@<:s><:#284,9025><:f240,2Times New Roman,255,0,0>http://home.mcom.com/home/services_docs/html-extensions.html<:f>
  654. @Standard Text@<:s><:#284,9025><:f240,2Times New Roman,255,0,0>
  655. @Standard Text@<:s><:#284,9025><+!>Please Note:<-!>
  656. @Standard Text@<:#568,9025>Anchors and other bracketed '<< <;>' items MUST appear in red or the brackets will be converted to their HTML codes << becomes < and <;> becomes > .
  657. @Standard Text@<:s><:#284,9025>
  658. @Standard Text@<:s><:#284,9025>
  659. @H3@<:#422,9025>4.  Current NetScape capabilities
  660. @Standard Text@<:#568,9025>I am working to make AMIWEB capable of using the extensions to HTML that are included in NetScape.
  661. @Standard Text@<:s><:#284,9025>
  662. @Standard Text@<:s><:#284,9025>Extensions supported:<:f>
  663. @Standard Text@<:s><:#279,9025><:f240,QTimes New Roman,0,0,0>
  664. @List@<:#568,9025>CENTER - Use the normal AmiPro controls to centre a paragraph and the converter will insert the <<CENTER<;> tags.
  665. @List@<:#284,9025>The new entities © and ®  the copyright and registered trademark symbols.
  666. @List@<:#284,9025>Fontsize processing to allow variable font sizes in documents.
  667. @List@<:s><:#284,9025>All the new image attributes.
  668. @List@<:s><:#284,9025>The new <<HR<;> and <<BR<;> attributes.
  669. @List@<:#284,9025>The new elements <<NOBR<;> and <<WBR<;> for what they're worth.
  670. @Standard Text@<:s><:#284,9025>
  671. @Standard Text@<:s><:#568,9025>I have no intention of adding the following due to the difficulties with representing them in AmiPro:
  672. @List@<:s><:#284,9025>Different bullet types in lists
  673. @List@<:#284,9025>The initial count value in ordered lists and the counting format i.e.. 1,2,3 or i, ii, iii etc.
  674. @Standard Text@<:s><:#284,9025>
  675. @Standard Text@<:s><:#284,9025>
  676. @H3@<:#422,9025>5.  Converting existing documents to AmiWeb
  677. @H3@<:s><:#422,9025>documents
  678. @Standard Text@<:#568,9025> To convert an existing document to a form that amiweb can process load your document then from the style option select 'Use another style' and select the HTML style.
  679. @Standard Text@<:#852,9025> The next thing to do is to select Macros from the Tools option and Playback. Select the macro called HTMLMACS.SMM and run it, this will set up the macros in the document for future use.
  680. @Standard Text@<:s><:#1136,9025> Once you have done all this, you must go through the document changing any Paragraph Styles that are not included in the HTML style sheet to ones that are.  To do this simply highlight the areas to change and select the appropriate paragraph style from the
  681.  menu activated by clicking on the button at the bottom left of the AmiPro screen.
  682. @Standard Text@<:s><:#852,9025>On converting the document, any styles that are not recognised will send up an error message naming the offending styles.  Search through the document for these styles and change the occurrences to acceptable styles.
  683. @Standard Text@<:s><:#284,9025>
  684. @H3@<:#422,9025>6.  Font sizes
  685. @Standard Text@<:#852,9025> AmiWeb converts font sizes to <<FONT SIZE=#<;> used by a number of browsers using the following table with the exception of the fonts in headers which I have disabled AmiWeb from altering.
  686. @Standard Text@<:s><:#284,9025>
  687. @Standard Text@<:#284,9025><+#>AMIPRO font size in Points<-#>            <+#>HTML FONT SIZE<-#>
  688. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#284,9025>    0-8    1    
  689. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#284,9025>    9-10    2
  690. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#284,9025>    11-12    3
  691. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#284,9025>    13-16    4
  692. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#568,9025>    17-18    5        19-25    6
  693. @Standard Text@<:s><:R1,2,1,737,1,5220,><:#284,9025>    26+    7
  694. @Standard Text@<:s><:R><:#284,9025>Not exactly evenly spaced but  that's life!
  695. @Standard Text@<:s><:#284,9025>
  696. @Standard Text@<:s><:#284,9025>
  697. @H3@<:#422,9025>7. Background Images and Colour Changes
  698. @Standard Text@<:#568,9025>The latest versions of HTML include options to change the default text and background colours and to allow you to specify an image to use as a background to your web page.
  699. @Standard Text@<:#284,9025>To use these features select HTML, Set Background etc. and a dialog box will appear.
  700. @Standard Text@<:#852,9025>The top five entries are for colour values which can be in two formats. The lower box is to enter the URL of an image you would like to use as a background.  Any empty fields will be ignored and so will not affect your document.
  701. @Standard Text@<:#284,9025>
  702. @Standard Text@<:#852,9025>The colour fields can either be of the form #rrggbb where rr is a hex value for the red component between 00 and ff, gg is the green component and bb the blue one.  This is the HTML standard.  So cyan would be #00ffff for example.
  703. @Standard Text@<:#284,9025>
  704. @Standard Text@<:#1420,9025>The second format allows you to use colour names such as RED, Black, blue, WhItE and is case insensitive!  The name is looked up in the file AMIHTML.INI (which the setup program places into your WINDOWS directory) and the corresponding value is placed into 
  705. the HTML file.  The number of colours supported is pretty low so far, please feel free to add to these in this file and I'd love to receive e-mail for more colours to add to the distribution files.  Thanks.
  706. @Standard Text@<:#284,9025>
  707. @H3@8. Using Tables
  708. @Standard Text@You may now add fairly basic tables to your HTML documents using AmiWeb.  Simply add a table to the AmiPro document and it will be converted into HTML.  To add a table, use Tools, Tables from the main menu bar.  Alternatively, use the Table icon now on the 
  709. HTML smarticon bar.  
  710. @Standard Text@To add a title to your table, simply add a footnote (Tools, Footnotes) whilst the cursor is on the table.  Type into the footnote and this will appear as a title above the table.
  711. @Standard Text@To modify the table settings in HTML, add another footnote and add the settings you require, for example, if you wish to use BORDER = 6, simply type this into the second footnote.
  712. @Standard Text@AmiWeb will always use the first footnote for a caption if it exists, it will use the second to modify the TABLE parameters.  If you wish to modify the parameters but not have a title, simply create two footnotes leaving the first one blank.
  713. @Standard Text@
  714. @Standard Text@To specify a header for a table entry rather than just a normal entry, underline the entry.  To right or centre align any of the entries, simply use the text align options on the entries you want aligned.
  715. @Standard Text@
  716. @Standard Text@See DEMO.SAM for use.
  717. @H5@<:#360,9025>Any bugs, comments:
  718. @Standard Text@<:s><:#852,9025>Please inform me of any bugs you find or any comments you have to make about these tools.  I cannot guarantee that any recommendations will be followed up but I will endeavour to fix any bugs.
  719. @Standard Text@<:s><:#284,9025>
  720. @Standard Text@<:#284,9025>e-mail to sbx@cs.nott.ac.uk              31/3/95
  721. [Embedded]
  722. 00029669
  723.